<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <PreferenceCategory app:title="@string/notification_header">

        <ListPreference
            app:defaultValue="1"
            app:entries="@array/notification_entries"
            app:entryValues="@array/notification_values"
            app:icon="@drawable/ic_baseline_notifications_none_24"
            app:key="when_show_notification"
            app:title="@string/show_notification_title"
            app:useSimpleSummaryProvider="true" />

    </PreferenceCategory>

    <PreferenceCategory app:title="@string/network_header">

        <SwitchPreferenceCompat
            app:defaultValue="true"
            app:icon="@drawable/ic_baseline_lte_mobiledata_24"
            app:key="metered_networks"
            app:title="@string/allow_metered_title" />

        <SwitchPreferenceCompat
            app:defaultValue="false"
            app:icon="@drawable/ic_baseline_r_mobiledata_24"
            app:key="roaming_networks"
            app:title="@string/allow_roaming_title" />

    </PreferenceCategory>

    <PreferenceCategory app:title="@string/auto_clean">
        <SwitchPreferenceCompat
            app:defaultValue="true"
            app:icon="@drawable/ic_baseline_delete_sweep_24"
            app:key="do_auto_clean"
            app:summaryOff="@string/now_os_decides"
            app:summaryOn="@string/now_you_decide"
            app:title="@string/enable_auto_clean" />

        <SeekBarPreference
            android:max="10"
            app:defaultValue="4"
            app:dependency="do_auto_clean"
            app:icon="@drawable/ic_baseline_timer_24"
            app:key="clean_delay"
            app:min="1"
            app:showSeekBarValue="true"
            app:summary="@string/to_avoid_soon_remove"
            app:title="@string/delay_minutes" />

        <SwitchPreferenceCompat
            app:defaultValue="false"
            app:dependency="do_auto_clean"
            app:icon="@drawable/ic_baseline_power_24"
            app:key="clean_must_ac"
            app:title="@string/must_charge" />

        <SwitchPreferenceCompat
            app:defaultValue="true"
            app:dependency="do_auto_clean"
            app:icon="@drawable/ic_baseline_battery_saver_24"
            app:key="clean_must_battery"
            app:title="@string/battery_charged" />

        <Preference
            app:icon="@drawable/ic_baseline_cleaning_services_24"
            app:isPreferenceVisible="false"
            app:key="key_clean_now"
            app:title="@string/clean_now">
        </Preference>

        <PreferenceCategory app:title="@string/one_more">
            <SwitchPreferenceCompat
                app:defaultValue="false"
                app:key="key_file_redirection"
                app:title="@string/downloading_and_sharing"
                app:summary="@string/app_will_accepts_urls"/>

        <Preference
            app:key="key_disable_icon"
            app:summary="@string/may_not_work"
            app:defaultValue="@string/settings_version"
            app:icon="@drawable/ic_baseline_not_interested_24"
            app:title="@string/tv_remove_app_launcher_icon">
        </Preference>

        </PreferenceCategory>
    </PreferenceCategory>
</PreferenceScreen>